from euler76 import use_gen

is_ok = False
now = 1
while not is_ok:
    tmp = use_gen(now) + 1
    print(now,tmp)
    if tmp < 1000000:
        now += 1
        continue
    if tmp%1000000==0:
        print(now, tmp)
        is_ok = True
        break
    now += 1